package com.ljf.common.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "通用枚举返回对象")
public class BasicEnumVO implements Serializable {

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private String name;

}
